home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / dec_osf-1_axp < prev    next >
Encoding:
Text File  |  1995-04-11  |  16.9 KB  |  466 lines

  1.  
  2. Archive-name: dec-faq/osf1
  3. Posting-Frequency: monthly
  4. Last-modified: February 22, 1995
  5.  
  6. Changes since last edition
  7. ==========================
  8. Added acornsw.com site for OSF/1 Freeware CD in A1.
  9.  
  10. Overview
  11. ========
  12. This is part 3 of the Frequently Asked Questions posting for
  13. comp.unix.ultrix, with answers about the DEC OSF/1 AXP operating system 
  14. [referred to in short hereafter as OSF/1] from Digital.  It is also posted on 
  15. comp.sys.dec, comp.unix.osf.osf1 and vmsnet.alpha, but it is not a full FAQ 
  16. for those groups.  Companion postings have answers that apply to both ULTRIX 
  17. and OSF/1 and answers that apply to ULTRIX alone.
  18.  
  19. A separate FAQ describes how to get information about Digital products
  20. and interacting with Digital.
  21.  
  22. This FAQ is archived in the following locations:
  23.     comp.answers and news.answers newsgroups
  24.     ftp://ftp.digital.com/pub/DEC/dec-faq/osf
  25.     ftp://rtfm.mit.edu/pub/usenet/news.answers/dec-faq/osf1
  26.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/dec-faq/osf1/faq.html
  27.  
  28. To make suggestions for changes or additions to this Frequently Asked
  29. Questions list, send mail to lionel@quark.enet.dec.com.  Answers are
  30. especially appreciated.
  31.  
  32. An archive of recent postings to comp.unix.ultrix can be found 
  33. at ftp://ftp.cc.rochester.edu/pub/usenet/comp.unix.ultrix
  34. Thanks to folks at the University of Rochester for providing this
  35. service.
  36.  
  37. Some general notes:
  38.  
  39. When used alone, the word "DECstation" is used to mean any of the
  40. DECstations or DECsystems that use MIPS RISC processors.  Similarly,
  41. "Alpha" refers to any DEC systems that use the Alpha AXP processor.
  42.  
  43. Unless otherwise specified, these answers refer to DEC OSF/1 AXP 3.0, which is
  44. the current release.
  45.  
  46. World-Wide Web Universal Resource Locator (URL) notation is used for FTP
  47. addresses.
  48.  
  49. Many people have contributed to this list, directly or indirectly.  In
  50. some cases, an answer has been adapted from one or more postings on the
  51. comp.unix.ultrix or comp.unix.osf.osf1 newsgroups.  Our thanks to all of 
  52. those who post answers. The name (or names) at the end of an entry indicate that
  53. the information was taken from postings by those individuals; the text may have
  54. been edited for this FAQ.  These citations are only given to acknowledge the
  55. contribution.
  56.  
  57. Although the editor of this FAQ is an employee of Digital Equipment
  58. Corporation, this posting is not an official statement from Digital
  59. Equipment Corporation.
  60.  
  61. Alpha AXP, AlphaServer, AlphaStation, AXP, DEC, DECstation, DECsystem, 
  62. OpenVMS, ULTRIX, VAX and VMS are trademarks of Digital Equipment Corporation.  
  63. Other names are properties of their respective owners.
  64.  
  65.  
  66. Alpha
  67. ======================================================
  68. A1. Where can I find software that has been ported to Alpha?
  69. A2. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean?
  70. A3. Where can I get Emacs and Epoch for Alpha OSF/1? 
  71. A4. Where can I get technical information about Alpha?
  72. A5. How can I test drive an Alpha system?
  73. A6. Where can I get updated console firmware for AlphaServer systems?
  74.  
  75. Software
  76. ======================================================
  77. S1. What (free) tools are there for looking at system behavior?
  78. S2. How can I figure out what files translated binaries are
  79.     looking for?
  80. S3. Where can I get an alternative PostScript previewer?
  81.  
  82. Programming
  83. ======================================================
  84. P1. What tools will help me port software to the 64-bit Alpha system?
  85. P2. Why can't I run dbx?
  86. P3. Why do my applications not work after I upgrade to a new version of DEC OSF/1?
  87. P4. Where can I get a debugging malloc that works on Alpha OSF/1?
  88. P5. What's with 'ld: unresolved symbols: dnet_conn'?
  89.  
  90. Graphics
  91. ======================================================
  92. G1. How can I make the graphics go faster?
  93. G2. Where can I get an xv that works on Alpha OSF/1?
  94.  
  95. Network
  96. ======================================================
  97. N1. Why doesn't FTP work to an XYZ system?
  98. N2. How do you use a NFS-mounted /usr filesystem on OSF/1?
  99. N3. Where can I get rstatd for DEC OSF/1?
  100. N4. How do I switch between the AUI and 10 Base-T Ethernet ports?
  101. N5. Where can I get multicast software for OSF/1?
  102. N6. What's wrong with xdr_long in the OSF/1 XDR routines?
  103.  
  104. Hardware
  105. ======================================================
  106. H1. Where can I get information about Alpha chips?
  107.  
  108. Miscellaneous
  109. ======================================================
  110. M1. Where else is DEC OSF/1 discussed?
  111. M2. How do I add a new terminal definition?
  112. M3. How do I boot to single-user mode?
  113.  
  114. ==============================================
  115. A1.  Where can I find software that has been ported to Alpha?
  116.  
  117. A list of software known to be ported to Alpha OSF/1 is available
  118. on the World-Wide Web:
  119.  
  120. http://www.digital.com/info/software.html
  121.  
  122. The "Alpha AXP Freeware CD," which is shipped with the DEC OSF/1 software
  123. distribution, has many popular programs in both source and binary form,
  124. although much of the software is now dated.  The current Alpha Freeware
  125. CD-ROM can also be ordered from DECdirect, order number QA-0PSAA-H8.  The
  126. price is $12 US.  For questions or suggestions about the Alpha Freeware
  127. CD-ROM, except about availability, send mail to freeware@vbo.dec.com.
  128.  
  129. The Freeware CD is mounted for anonymous FTP on some Internet machines,
  130. including ftp.Uni-Koeln.de, and on ftp.digital.com at
  131.  
  132. /rom/euuc-axp-freeware
  133.  
  134. It is also available through:
  135.  
  136.   ftp://flash.acornsw.com/
  137.   gopher://gopher.acornsw.com/
  138.   http://www.acornsw.com/
  139.  
  140. The alpha-osf-managers archive (see below) also has some programs.
  141.  
  142.             [Peter Kaiser, kaiser@acm.org]
  143.             [Win Treese, treese@lcs.mit.edu]
  144.  
  145. ==============================================
  146. A2. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean?
  147.  
  148. Nothing. It is part of the trademark.
  149.  
  150. ==============================================
  151. A3. Where can I get Emacs and Epoch for Alpha OSF/1? 
  152.  
  153. Both a binary and sources for GNU Emacs are included on the base
  154. system CD-ROM. Epoch is available on the Alpha OSF/1 Freeware CD-ROM
  155. (see answer A1 for more information).
  156.  
  157. Patches to make Emacs version 19.22 run on Alpha OSF/1 can be found at
  158. ftp://ftp.digital.com/pub/GNU . The files are
  159.  
  160. emacs-19.22-alpha-patch.README
  161. emacs-19.22-alpha-patch.gz
  162.  
  163. but the current version of GNU emacs (any version at least as recent as
  164. 19.28) is said to build and run properly on Alpha OSF/1).
  165.  
  166.                 [Pete Kaiser, kaiser@acm.org]
  167.                 [Rob McCool, robm@snail.ncsa.uiuc.edu]
  168.  
  169. ==============================================
  170. A4. Where can I get technical information about Alpha?
  171.  
  172. Sites, R.L., Ed., Alpha Architecture Reference Manual (600 page book,
  173. 1992) from Digital Press (EY-L520E-DP) or Prentice-Hall 9ISBN
  174. 0-13-033663-7). Also at most technical bookstores, including
  175. Quantum(Cambridge) and Stacey's (Palo Alto)
  176.  
  177. Communications of the ACM, February 1993 issue (4 Alpha articles)
  178.  
  179. Digital Technical Journal, Vol 4., No. 4 (200 pages of Alpha articles,
  180. including 4 above with fewer typos). Order info: dtj@crl.dec.com
  181. (Available from ftp://ftp.digital.com/pub/DEC/DECinfo/DTJ and
  182. http://www.digital.com/info/DTJ/dtj.html)
  183.  
  184. Jim Montanaro "The Design of the Alpha 21064 CPU Chip" (42 minutes)
  185. Dick Sites and Dirk Meyer, "Alpha Architecture" (73 minutes)
  186. University Video Communications P.O. BOx 5129 Stanford CA 94309 USA
  187. (415) 813-0506
  188.                     [Dick Sites, sites@tallis.enet.dec.com]
  189.  
  190. ==============================================
  191. A5.  How can I test drive an Alpha system?
  192.  
  193. In no particular order:
  194.  
  195. OSF:
  196. 1. telnet axposf.pa.dec.com, login as guest.
  197. 2. telnet axposf.stanford.edu, login as guest.
  198.  
  199. VMS:
  200. 1. telnet axpvms.cc.utexas.edu, login as AXPGUEST
  201. 2. telnet axpvms.pa.dec.com, login as AXPGUEST
  202.  
  203. ==============================================
  204. A6.  Where can I get updated console firmware for AlphaServer systems?
  205.  
  206. We are happy to announce the creation of an unrestricted FTP and WWW area for
  207. Alphaservers.  This area is accessible to both internal and external folks. 
  208. The information includes firmware updates, the latest configuration utilities,
  209. software patches, a list of supported options, hardware documentation, and
  210. more.  The area is under construction, so not everything is in place yet.
  211.  
  212. The files available for FTP are located at:
  213.   ftp://ftp.digital.com/pub/Digital/Alpha/
  214.  
  215. The WWW pages are located at:
  216.   http://www.service.digital.com/alpha/server/
  217.  
  218. We hope that these pages will be useful.  Please send your comments and
  219. feedback to alpha_server@service.digital.com
  220.  
  221. ==============================================
  222. S1.  What (free) tools are there for looking at system behavior?
  223.  
  224. syd, a utility like top, is on the Alpha OSF/1 Freeware disk for versions
  225. of Alpha OSF/1 before V3.0.  It is also available for anonymous FTP from
  226. many sites.  One is ftp://ftp.Uni-Koeln.DE/decosf; and there you can also
  227. get a version that works with version 3.x of Alpha OSF/1.
  228.  
  229. top has been ported to DEC OSF/1, and works under 1.2, 1.3, and 2.0.  It is
  230. available from ftp://ftp.eng.umd.edu/pub/alpha.
  231.  
  232. lsof, a utility for listing open files, is available from
  233. ftp://vic.cc.purdue.edu:/pub.
  234.  
  235.                     [Dave Sill, de5@ornl.gov]
  236.                     [Anthony Baxter, anthony@aaii.oz.au]
  237.  
  238. ==============================================
  239. S2.  How can I figure out what files translated binaries are
  240.     looking for?
  241.  
  242. Try
  243.     setenv MXR_TRACE_SYSCALLS open,stat,fstat,access
  244.  
  245. Running mxr -help will describe this environment variable along with
  246. some other useful ones.
  247.                 [Richard Gorton, gorton@blorf.amt.ako.dec.com]
  248.  
  249. ==============================================
  250. S3.  Where can I get an alternative PostScript previewer?
  251.  
  252. The previewer psview is available from
  253. ftp://ftp.digital.com/pub/DEC/PRL
  254.  
  255. The interface is similar to that of xdvi.  It can use Display PostScript
  256. or ghostscript for rendering.
  257.                     [Castor Fu, foo@leland.stanford.edu]
  258.  
  259. ==============================================
  260. P1. What tools will help me port software to the 64-bit Alpha system?
  261.  
  262. The version of lint shipped with Alpha OSF/1 has many checks to help
  263. port software to Alpha.  In particular, the -Q option is very useful.
  264. See the manual page for more details.
  265.  
  266. A document entitled "SunOS to DEC OSF/1 Porting Guide" is available
  267. from ftp://ftp.digital.com/pub/DEC/DECinfo/document/EC-N0736-43.ps.Z
  268.  
  269. ==============================================
  270. P2. Why can't I run dbx?
  271.  
  272. With DEC OSF/1 V1.2 the development environment is a separate layered
  273. product beyond the base OS.  Although it is included on the DEC OSF/1
  274. consolidated CD-ROM, the license must be purchased separately to use
  275. any portion of the Developer's kit.  Within the DEC OSF/1 Developer's
  276. Kit the license just happens to be enforced by a check in dbx.
  277.  
  278. For more information, look in
  279. ftp://ftp.digital.com/pub/DEC/DECinfo/DECnews-UNIX for:
  280.  
  281.       0104.txt      DEC OSF/1 Developer's Extensions V1.2 article, 11/17/92
  282.       0603.txt      DEC OSF/1 Developer's Toolkit V1.2 article, 03/23/93
  283.       0806.txt    C Compiler for DEC OSF/1 Operating System article, 05/13/93
  284.                     [Russ Jones, rjones@pa.dec.com]
  285.  
  286. ==============================================
  287. P3. Why do my applications not work after I upgrade to a new version of DEC OSF/1?
  288.  
  289. Sometimes the details of the shared libraries change between releases.
  290. In general, applications compiled on an earlier version of DEC OSF/1
  291. should still run on a later version.  The converse may not be true.
  292.  
  293. In particular, there were some incompatibilies between the field test and
  294. final versions of DEC OSF/1 V1.2.
  295.  
  296. The usual solution is to recompile from scratch.
  297.                         [John Kohl, jtkohl@zk3.dec.com]
  298.  
  299. ==============================================
  300. P4. Where can I get a debugging malloc that works on Alpha OSF/1?
  301.  
  302. ftp://ftp.digital.com/pub/misc/malloc_dbg.
  303.  
  304. If you get the package, be sure to read the stuff in the file
  305. contrib/dec_notes which explains how to replace malloc on the fly in
  306. an existing program.
  307.  
  308.                     [Dave Hill, ddhill@zk3.dec.com]
  309.  
  310. ==============================================
  311. P5. What's with 'ld: unresolved symbols: dnet_conn'?
  312.  
  313. Some libraries on OSF/1 (notably the X11 library) are compiled so that
  314. they can use DECnet as well as TCP/IP.  To link with such libraries,
  315. include -ldnet_stub at the end of link command.  If you have DECnet
  316. software installed, use -ldnet.
  317.  
  318.  
  319. ==============================================
  320. G1. How can I make the graphics go faster?
  321.  
  322. If your application is sending lots of data (using, say, PutImage
  323. requests), try setting DISPLAY to local:0, which uses a shared memory
  324. transport between the client and the X server.
  325.                     [Gail Grant]
  326.  
  327. ==============================================
  328. G2. Where can I get an xv that works on Alpha OSF/1?
  329.  
  330. Try ftp://pfc.mit.edu/  Make sure that LONG and U_LONG in
  331. xvtiffwr.c are defined to be int and unsigned int.
  332.                 [Mike Iglesias, iglesias@draco.acs.uci.edu]
  333.  
  334. xv is also included on the OSF/1 Freeware CD-ROM (see question A1).
  335.  
  336. ==============================================
  337. N1. Why doesn't FTP work to an XYZ system?
  338.  
  339. DEC OSF/1 uses the IP type-of-service option (TOS) by default.  This
  340. confuses some systems (reportedly Macintoshes).  To turn off the
  341. option for ftp, create a file /etc/iptos with the following entries:
  342.  
  343.     ftp-control    tcp    0x0
  344.     ftp-data    tcp    0x0
  345.  
  346. Reboot the Alpha system.
  347.  
  348. ==============================================
  349. N2. How do you use a NFS-mounted /usr filesystem on OSF/1?
  350.  
  351. Jon Forrest (forrest@cs.Berkeley.EDU) has written a document that
  352. describes how to do this. Look in 
  353. ftp://toe.CS.Berkeley.edu/pub/personal/forrest/remote.mounting
  354.  
  355. Note that as of OSF 1.3 DEC does not support this but it is quite
  356. easy to do.
  357.                 [Jon Forrest, forrest@postgres.Berkeley.EDU]
  358.  
  359. ==============================================
  360. N3. Where can I get rstatd for DEC OSF/1?
  361.  
  362. rstatd is reportedly in DEC OSF/1 version 2.0.
  363.  
  364. ==============================================
  365. N4. How do I switch between the AUI and 10 Base-T Ethernet ports?
  366.  
  367. - Shutdown the system.
  368. - At the ">>>" prompt, type:
  369.  
  370.     set ethernet thick
  371.       or
  372.           set ethernet tenbt
  373.  
  374. - Reboot the system.
  375.                                [Steve Imber, stevei@anduril.fsc.qut.edu.au]
  376.  
  377. ==============================================
  378. N5.  Where can I get multicast software for OSF/1?
  379.  
  380. Information about software for multicast applications on OSF/1 is
  381. available from:
  382.  
  383.     http://s2k-ftp.cs.berkeley.edu:8000/sequoia/conferencing
  384. or    ftp://s2k-ftp.CS.Berkeley.EDU/pub/sequoia/conferencing
  385.                 [Fred Templin, templin@postgres.Berkeley.EDU]
  386.  
  387. Binaries of the MBone application suite are also available at
  388.  
  389.     http://chocolate.pa.dec.com/mbone
  390.     ftp://chocolate.pa.dec.com/mbone
  391.                 [Lance Berc, berc@src.dec.com]
  392.  
  393. ==============================================
  394. N6. What's wrong with xdr_long in the OSF/1 XDR routines?
  395.  
  396. xdr_long is used for sending signed 32-bit values and cannot send
  397. 0xFFFFFFFF. xdr_ulong should be used instead.  For 64-bit integer
  398. values, use xdr_hyper.  See the manual pages for more details.
  399.                     [Curtis Keller, curtis@kinesix.com]
  400.  
  401. This is slightly misleading.  xdr_long() can send -1, which in 32 bits
  402. is 0xffffffff.  xdr_long() does range checking, insuring that the top 33
  403. bits of its 64-bit argument are all ones or all zeroes.  If this is not
  404. the case, then the signed long integer is beyond the range of
  405. representation within a signed 32-bit value, and xdr_long() rightly
  406. fails.
  407.  
  408. xdr_u_long() [note typo above!] insures that the top 32 bits of its
  409. 64-bit argument are all zero.   If this is not the case, then the
  410. unsigned long integer is beyond ... blah blah.
  411.  
  412. So, the upshot is:  If you're using signed values, use xdr_long(), and
  413. DON'T use unsigned constants like 0xffffffff to set variables.  If
  414. you're using unsigned values, use xdr_u_long().  In both cases, make
  415. sure you're within range for 32-bits, if you want to interoperate with
  416. 32-bit machines using native data types.
  417.                     [John Kohl,jtk@atria.com]
  418.  
  419. ==============================================
  420. H1. Where can I get information about Alpha chips?
  421.  
  422. Call the DECchip Hotline 
  423.    1-800-332-2717 (voice) 
  424.    1-800-332-2515 (TTY) 
  425.    8:30am - 5:30pm ET 
  426.  
  427.                         [Jim Gettys, jg@crl.dec.com]
  428.  
  429. ==============================================
  430. M1. Where else is DEC OSF/1 discussed?
  431.  
  432. You can join the mailing list alpha-osf-managers@ornl.gov.  Send a message
  433. with
  434.     subscribe alpha-osf-managers
  435. in the body to Majordomo@ornl.gov.  Archives of the list are available
  436. from ftp://ftp.kpc.com/pub/list/alpha-osf-managers  Some useful
  437. Alpha software is also kept there.
  438.                     [Dave Sill, de5@ornl.gov]
  439.  
  440. ==============================================
  441. M2. How do I add a new terminal definition?
  442.  
  443. Some applications on OSF/1 use termcap; others use terminfo.  tic(1)
  444. compiles a termcap definition for terminfo.   It is best to add a
  445. new terminal definition both ways.
  446.                     [Jeffrey Heller, jeffreyh@kpc.com]
  447.  
  448. ==============================================
  449. M3. How do I boot to single-user mode?
  450.  
  451. >>> boot -fl s
  452.  
  453. -fl specifies the flags to the booted image.
  454.                     [Boris Yost, boris@msc.cornell.edu]
  455. [End of FAQ]
  456.  
  457. -- 
  458.  
  459. Steve Lionel                      Mail: lionel@quark.enet.dec.com
  460. DEC Fortran Development           WWW:  http://www.digital.com/info/slionel.html
  461. Digital Equipment Corporation     CompuServe: 75263,3001
  462. 110 Spit Brook Road, ZKO2-3/N30
  463. Nashua, NH 03062-2698             "Free advice is worth every cent"
  464.  
  465. For a summary of Digital's Internet services, send mail to info@digital.com
  466.